package com.huaxiafinance.management.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MallProductExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MallProductExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andProUuidIsNull() {
            addCriterion("pro_uuid is null");
            return (Criteria) this;
        }

        public Criteria andProUuidIsNotNull() {
            addCriterion("pro_uuid is not null");
            return (Criteria) this;
        }

        public Criteria andProUuidEqualTo(String value) {
            addCriterion("pro_uuid =", value, "proUuid");
            return (Criteria) this;
        }

        public Criteria andProUuidNotEqualTo(String value) {
            addCriterion("pro_uuid <>", value, "proUuid");
            return (Criteria) this;
        }

        public Criteria andProUuidGreaterThan(String value) {
            addCriterion("pro_uuid >", value, "proUuid");
            return (Criteria) this;
        }

        public Criteria andProUuidGreaterThanOrEqualTo(String value) {
            addCriterion("pro_uuid >=", value, "proUuid");
            return (Criteria) this;
        }

        public Criteria andProUuidLessThan(String value) {
            addCriterion("pro_uuid <", value, "proUuid");
            return (Criteria) this;
        }

        public Criteria andProUuidLessThanOrEqualTo(String value) {
            addCriterion("pro_uuid <=", value, "proUuid");
            return (Criteria) this;
        }

        public Criteria andProUuidLike(String value) {
            addCriterion("pro_uuid like", value, "proUuid");
            return (Criteria) this;
        }

        public Criteria andProUuidNotLike(String value) {
            addCriterion("pro_uuid not like", value, "proUuid");
            return (Criteria) this;
        }

        public Criteria andProUuidIn(List<String> values) {
            addCriterion("pro_uuid in", values, "proUuid");
            return (Criteria) this;
        }

        public Criteria andProUuidNotIn(List<String> values) {
            addCriterion("pro_uuid not in", values, "proUuid");
            return (Criteria) this;
        }

        public Criteria andProUuidBetween(String value1, String value2) {
            addCriterion("pro_uuid between", value1, value2, "proUuid");
            return (Criteria) this;
        }

        public Criteria andProUuidNotBetween(String value1, String value2) {
            addCriterion("pro_uuid not between", value1, value2, "proUuid");
            return (Criteria) this;
        }

        public Criteria andProCodeIsNull() {
            addCriterion("pro_code is null");
            return (Criteria) this;
        }

        public Criteria andProCodeIsNotNull() {
            addCriterion("pro_code is not null");
            return (Criteria) this;
        }

        public Criteria andProCodeEqualTo(String value) {
            addCriterion("pro_code =", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeNotEqualTo(String value) {
            addCriterion("pro_code <>", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeGreaterThan(String value) {
            addCriterion("pro_code >", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeGreaterThanOrEqualTo(String value) {
            addCriterion("pro_code >=", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeLessThan(String value) {
            addCriterion("pro_code <", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeLessThanOrEqualTo(String value) {
            addCriterion("pro_code <=", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeLike(String value) {
            addCriterion("pro_code like", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeNotLike(String value) {
            addCriterion("pro_code not like", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeIn(List<String> values) {
            addCriterion("pro_code in", values, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeNotIn(List<String> values) {
            addCriterion("pro_code not in", values, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeBetween(String value1, String value2) {
            addCriterion("pro_code between", value1, value2, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeNotBetween(String value1, String value2) {
            addCriterion("pro_code not between", value1, value2, "proCode");
            return (Criteria) this;
        }

        public Criteria andProNameIsNull() {
            addCriterion("pro_name is null");
            return (Criteria) this;
        }

        public Criteria andProNameIsNotNull() {
            addCriterion("pro_name is not null");
            return (Criteria) this;
        }

        public Criteria andProNameEqualTo(String value) {
            addCriterion("pro_name =", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameNotEqualTo(String value) {
            addCriterion("pro_name <>", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameGreaterThan(String value) {
            addCriterion("pro_name >", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameGreaterThanOrEqualTo(String value) {
            addCriterion("pro_name >=", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameLessThan(String value) {
            addCriterion("pro_name <", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameLessThanOrEqualTo(String value) {
            addCriterion("pro_name <=", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameLike(String value) {
            addCriterion("pro_name like", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameNotLike(String value) {
            addCriterion("pro_name not like", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameIn(List<String> values) {
            addCriterion("pro_name in", values, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameNotIn(List<String> values) {
            addCriterion("pro_name not in", values, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameBetween(String value1, String value2) {
            addCriterion("pro_name between", value1, value2, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameNotBetween(String value1, String value2) {
            addCriterion("pro_name not between", value1, value2, "proName");
            return (Criteria) this;
        }

        public Criteria andProTypeIsNull() {
            addCriterion("pro_type is null");
            return (Criteria) this;
        }

        public Criteria andProTypeIsNotNull() {
            addCriterion("pro_type is not null");
            return (Criteria) this;
        }

        public Criteria andProTypeEqualTo(Integer value) {
            addCriterion("pro_type =", value, "proType");
            return (Criteria) this;
        }

        public Criteria andProTypeNotEqualTo(Integer value) {
            addCriterion("pro_type <>", value, "proType");
            return (Criteria) this;
        }

        public Criteria andProTypeGreaterThan(Integer value) {
            addCriterion("pro_type >", value, "proType");
            return (Criteria) this;
        }

        public Criteria andProTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("pro_type >=", value, "proType");
            return (Criteria) this;
        }

        public Criteria andProTypeLessThan(Integer value) {
            addCriterion("pro_type <", value, "proType");
            return (Criteria) this;
        }

        public Criteria andProTypeLessThanOrEqualTo(Integer value) {
            addCriterion("pro_type <=", value, "proType");
            return (Criteria) this;
        }

        public Criteria andProTypeIn(List<Integer> values) {
            addCriterion("pro_type in", values, "proType");
            return (Criteria) this;
        }

        public Criteria andProTypeNotIn(List<Integer> values) {
            addCriterion("pro_type not in", values, "proType");
            return (Criteria) this;
        }

        public Criteria andProTypeBetween(Integer value1, Integer value2) {
            addCriterion("pro_type between", value1, value2, "proType");
            return (Criteria) this;
        }

        public Criteria andProTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("pro_type not between", value1, value2, "proType");
            return (Criteria) this;
        }

        public Criteria andProPropertyIsNull() {
            addCriterion("pro_property is null");
            return (Criteria) this;
        }

        public Criteria andProPropertyIsNotNull() {
            addCriterion("pro_property is not null");
            return (Criteria) this;
        }

        public Criteria andProPropertyEqualTo(Integer value) {
            addCriterion("pro_property =", value, "proProperty");
            return (Criteria) this;
        }

        public Criteria andProPropertyNotEqualTo(Integer value) {
            addCriterion("pro_property <>", value, "proProperty");
            return (Criteria) this;
        }

        public Criteria andProPropertyGreaterThan(Integer value) {
            addCriterion("pro_property >", value, "proProperty");
            return (Criteria) this;
        }

        public Criteria andProPropertyGreaterThanOrEqualTo(Integer value) {
            addCriterion("pro_property >=", value, "proProperty");
            return (Criteria) this;
        }

        public Criteria andProPropertyLessThan(Integer value) {
            addCriterion("pro_property <", value, "proProperty");
            return (Criteria) this;
        }

        public Criteria andProPropertyLessThanOrEqualTo(Integer value) {
            addCriterion("pro_property <=", value, "proProperty");
            return (Criteria) this;
        }

        public Criteria andProPropertyIn(List<Integer> values) {
            addCriterion("pro_property in", values, "proProperty");
            return (Criteria) this;
        }

        public Criteria andProPropertyNotIn(List<Integer> values) {
            addCriterion("pro_property not in", values, "proProperty");
            return (Criteria) this;
        }

        public Criteria andProPropertyBetween(Integer value1, Integer value2) {
            addCriterion("pro_property between", value1, value2, "proProperty");
            return (Criteria) this;
        }

        public Criteria andProPropertyNotBetween(Integer value1, Integer value2) {
            addCriterion("pro_property not between", value1, value2, "proProperty");
            return (Criteria) this;
        }

        public Criteria andProBrandIsNull() {
            addCriterion("pro_brand is null");
            return (Criteria) this;
        }

        public Criteria andProBrandIsNotNull() {
            addCriterion("pro_brand is not null");
            return (Criteria) this;
        }

        public Criteria andProBrandEqualTo(String value) {
            addCriterion("pro_brand =", value, "proBrand");
            return (Criteria) this;
        }

        public Criteria andProBrandNotEqualTo(String value) {
            addCriterion("pro_brand <>", value, "proBrand");
            return (Criteria) this;
        }

        public Criteria andProBrandGreaterThan(String value) {
            addCriterion("pro_brand >", value, "proBrand");
            return (Criteria) this;
        }

        public Criteria andProBrandGreaterThanOrEqualTo(String value) {
            addCriterion("pro_brand >=", value, "proBrand");
            return (Criteria) this;
        }

        public Criteria andProBrandLessThan(String value) {
            addCriterion("pro_brand <", value, "proBrand");
            return (Criteria) this;
        }

        public Criteria andProBrandLessThanOrEqualTo(String value) {
            addCriterion("pro_brand <=", value, "proBrand");
            return (Criteria) this;
        }

        public Criteria andProBrandLike(String value) {
            addCriterion("pro_brand like", value, "proBrand");
            return (Criteria) this;
        }

        public Criteria andProBrandNotLike(String value) {
            addCriterion("pro_brand not like", value, "proBrand");
            return (Criteria) this;
        }

        public Criteria andProBrandIn(List<String> values) {
            addCriterion("pro_brand in", values, "proBrand");
            return (Criteria) this;
        }

        public Criteria andProBrandNotIn(List<String> values) {
            addCriterion("pro_brand not in", values, "proBrand");
            return (Criteria) this;
        }

        public Criteria andProBrandBetween(String value1, String value2) {
            addCriterion("pro_brand between", value1, value2, "proBrand");
            return (Criteria) this;
        }

        public Criteria andProBrandNotBetween(String value1, String value2) {
            addCriterion("pro_brand not between", value1, value2, "proBrand");
            return (Criteria) this;
        }

        public Criteria andProTagIdIsNull() {
            addCriterion("pro_tag_id is null");
            return (Criteria) this;
        }

        public Criteria andProTagIdIsNotNull() {
            addCriterion("pro_tag_id is not null");
            return (Criteria) this;
        }

        public Criteria andProTagIdEqualTo(String value) {
            addCriterion("pro_tag_id =", value, "proTagId");
            return (Criteria) this;
        }

        public Criteria andProTagIdNotEqualTo(String value) {
            addCriterion("pro_tag_id <>", value, "proTagId");
            return (Criteria) this;
        }

        public Criteria andProTagIdGreaterThan(String value) {
            addCriterion("pro_tag_id >", value, "proTagId");
            return (Criteria) this;
        }

        public Criteria andProTagIdGreaterThanOrEqualTo(String value) {
            addCriterion("pro_tag_id >=", value, "proTagId");
            return (Criteria) this;
        }

        public Criteria andProTagIdLessThan(String value) {
            addCriterion("pro_tag_id <", value, "proTagId");
            return (Criteria) this;
        }

        public Criteria andProTagIdLessThanOrEqualTo(String value) {
            addCriterion("pro_tag_id <=", value, "proTagId");
            return (Criteria) this;
        }

        public Criteria andProTagIdLike(String value) {
            addCriterion("pro_tag_id like", value, "proTagId");
            return (Criteria) this;
        }

        public Criteria andProTagIdNotLike(String value) {
            addCriterion("pro_tag_id not like", value, "proTagId");
            return (Criteria) this;
        }

        public Criteria andProTagIdIn(List<String> values) {
            addCriterion("pro_tag_id in", values, "proTagId");
            return (Criteria) this;
        }

        public Criteria andProTagIdNotIn(List<String> values) {
            addCriterion("pro_tag_id not in", values, "proTagId");
            return (Criteria) this;
        }

        public Criteria andProTagIdBetween(String value1, String value2) {
            addCriterion("pro_tag_id between", value1, value2, "proTagId");
            return (Criteria) this;
        }

        public Criteria andProTagIdNotBetween(String value1, String value2) {
            addCriterion("pro_tag_id not between", value1, value2, "proTagId");
            return (Criteria) this;
        }

        public Criteria andProServiceTagIdIsNull() {
            addCriterion("pro_service_tag_id is null");
            return (Criteria) this;
        }

        public Criteria andProServiceTagIdIsNotNull() {
            addCriterion("pro_service_tag_id is not null");
            return (Criteria) this;
        }

        public Criteria andProServiceTagIdEqualTo(String value) {
            addCriterion("pro_service_tag_id =", value, "proServiceTagId");
            return (Criteria) this;
        }

        public Criteria andProServiceTagIdNotEqualTo(String value) {
            addCriterion("pro_service_tag_id <>", value, "proServiceTagId");
            return (Criteria) this;
        }

        public Criteria andProServiceTagIdGreaterThan(String value) {
            addCriterion("pro_service_tag_id >", value, "proServiceTagId");
            return (Criteria) this;
        }

        public Criteria andProServiceTagIdGreaterThanOrEqualTo(String value) {
            addCriterion("pro_service_tag_id >=", value, "proServiceTagId");
            return (Criteria) this;
        }

        public Criteria andProServiceTagIdLessThan(String value) {
            addCriterion("pro_service_tag_id <", value, "proServiceTagId");
            return (Criteria) this;
        }

        public Criteria andProServiceTagIdLessThanOrEqualTo(String value) {
            addCriterion("pro_service_tag_id <=", value, "proServiceTagId");
            return (Criteria) this;
        }

        public Criteria andProServiceTagIdLike(String value) {
            addCriterion("pro_service_tag_id like", value, "proServiceTagId");
            return (Criteria) this;
        }

        public Criteria andProServiceTagIdNotLike(String value) {
            addCriterion("pro_service_tag_id not like", value, "proServiceTagId");
            return (Criteria) this;
        }

        public Criteria andProServiceTagIdIn(List<String> values) {
            addCriterion("pro_service_tag_id in", values, "proServiceTagId");
            return (Criteria) this;
        }

        public Criteria andProServiceTagIdNotIn(List<String> values) {
            addCriterion("pro_service_tag_id not in", values, "proServiceTagId");
            return (Criteria) this;
        }

        public Criteria andProServiceTagIdBetween(String value1, String value2) {
            addCriterion("pro_service_tag_id between", value1, value2, "proServiceTagId");
            return (Criteria) this;
        }

        public Criteria andProServiceTagIdNotBetween(String value1, String value2) {
            addCriterion("pro_service_tag_id not between", value1, value2, "proServiceTagId");
            return (Criteria) this;
        }

        public Criteria andProSalesIsNull() {
            addCriterion("pro_sales is null");
            return (Criteria) this;
        }

        public Criteria andProSalesIsNotNull() {
            addCriterion("pro_sales is not null");
            return (Criteria) this;
        }

        public Criteria andProSalesEqualTo(Integer value) {
            addCriterion("pro_sales =", value, "proSales");
            return (Criteria) this;
        }

        public Criteria andProSalesNotEqualTo(Integer value) {
            addCriterion("pro_sales <>", value, "proSales");
            return (Criteria) this;
        }

        public Criteria andProSalesGreaterThan(Integer value) {
            addCriterion("pro_sales >", value, "proSales");
            return (Criteria) this;
        }

        public Criteria andProSalesGreaterThanOrEqualTo(Integer value) {
            addCriterion("pro_sales >=", value, "proSales");
            return (Criteria) this;
        }

        public Criteria andProSalesLessThan(Integer value) {
            addCriterion("pro_sales <", value, "proSales");
            return (Criteria) this;
        }

        public Criteria andProSalesLessThanOrEqualTo(Integer value) {
            addCriterion("pro_sales <=", value, "proSales");
            return (Criteria) this;
        }

        public Criteria andProSalesIn(List<Integer> values) {
            addCriterion("pro_sales in", values, "proSales");
            return (Criteria) this;
        }

        public Criteria andProSalesNotIn(List<Integer> values) {
            addCriterion("pro_sales not in", values, "proSales");
            return (Criteria) this;
        }

        public Criteria andProSalesBetween(Integer value1, Integer value2) {
            addCriterion("pro_sales between", value1, value2, "proSales");
            return (Criteria) this;
        }

        public Criteria andProSalesNotBetween(Integer value1, Integer value2) {
            addCriterion("pro_sales not between", value1, value2, "proSales");
            return (Criteria) this;
        }

        public Criteria andProActualSalesIsNull() {
            addCriterion("pro_actual_sales is null");
            return (Criteria) this;
        }

        public Criteria andProActualSalesIsNotNull() {
            addCriterion("pro_actual_sales is not null");
            return (Criteria) this;
        }

        public Criteria andProActualSalesEqualTo(Integer value) {
            addCriterion("pro_actual_sales =", value, "proActualSales");
            return (Criteria) this;
        }

        public Criteria andProActualSalesNotEqualTo(Integer value) {
            addCriterion("pro_actual_sales <>", value, "proActualSales");
            return (Criteria) this;
        }

        public Criteria andProActualSalesGreaterThan(Integer value) {
            addCriterion("pro_actual_sales >", value, "proActualSales");
            return (Criteria) this;
        }

        public Criteria andProActualSalesGreaterThanOrEqualTo(Integer value) {
            addCriterion("pro_actual_sales >=", value, "proActualSales");
            return (Criteria) this;
        }

        public Criteria andProActualSalesLessThan(Integer value) {
            addCriterion("pro_actual_sales <", value, "proActualSales");
            return (Criteria) this;
        }

        public Criteria andProActualSalesLessThanOrEqualTo(Integer value) {
            addCriterion("pro_actual_sales <=", value, "proActualSales");
            return (Criteria) this;
        }

        public Criteria andProActualSalesIn(List<Integer> values) {
            addCriterion("pro_actual_sales in", values, "proActualSales");
            return (Criteria) this;
        }

        public Criteria andProActualSalesNotIn(List<Integer> values) {
            addCriterion("pro_actual_sales not in", values, "proActualSales");
            return (Criteria) this;
        }

        public Criteria andProActualSalesBetween(Integer value1, Integer value2) {
            addCriterion("pro_actual_sales between", value1, value2, "proActualSales");
            return (Criteria) this;
        }

        public Criteria andProActualSalesNotBetween(Integer value1, Integer value2) {
            addCriterion("pro_actual_sales not between", value1, value2, "proActualSales");
            return (Criteria) this;
        }

        public Criteria andProBaseSalesIsNull() {
            addCriterion("pro_base_sales is null");
            return (Criteria) this;
        }

        public Criteria andProBaseSalesIsNotNull() {
            addCriterion("pro_base_sales is not null");
            return (Criteria) this;
        }

        public Criteria andProBaseSalesEqualTo(Integer value) {
            addCriterion("pro_base_sales =", value, "proBaseSales");
            return (Criteria) this;
        }

        public Criteria andProBaseSalesNotEqualTo(Integer value) {
            addCriterion("pro_base_sales <>", value, "proBaseSales");
            return (Criteria) this;
        }

        public Criteria andProBaseSalesGreaterThan(Integer value) {
            addCriterion("pro_base_sales >", value, "proBaseSales");
            return (Criteria) this;
        }

        public Criteria andProBaseSalesGreaterThanOrEqualTo(Integer value) {
            addCriterion("pro_base_sales >=", value, "proBaseSales");
            return (Criteria) this;
        }

        public Criteria andProBaseSalesLessThan(Integer value) {
            addCriterion("pro_base_sales <", value, "proBaseSales");
            return (Criteria) this;
        }

        public Criteria andProBaseSalesLessThanOrEqualTo(Integer value) {
            addCriterion("pro_base_sales <=", value, "proBaseSales");
            return (Criteria) this;
        }

        public Criteria andProBaseSalesIn(List<Integer> values) {
            addCriterion("pro_base_sales in", values, "proBaseSales");
            return (Criteria) this;
        }

        public Criteria andProBaseSalesNotIn(List<Integer> values) {
            addCriterion("pro_base_sales not in", values, "proBaseSales");
            return (Criteria) this;
        }

        public Criteria andProBaseSalesBetween(Integer value1, Integer value2) {
            addCriterion("pro_base_sales between", value1, value2, "proBaseSales");
            return (Criteria) this;
        }

        public Criteria andProBaseSalesNotBetween(Integer value1, Integer value2) {
            addCriterion("pro_base_sales not between", value1, value2, "proBaseSales");
            return (Criteria) this;
        }

        public Criteria andProOnshelfStatusIsNull() {
            addCriterion("pro_onshelf_status is null");
            return (Criteria) this;
        }

        public Criteria andProOnshelfStatusIsNotNull() {
            addCriterion("pro_onshelf_status is not null");
            return (Criteria) this;
        }

        public Criteria andProOnshelfStatusEqualTo(Integer value) {
            addCriterion("pro_onshelf_status =", value, "proOnshelfStatus");
            return (Criteria) this;
        }

        public Criteria andProOnshelfStatusNotEqualTo(Integer value) {
            addCriterion("pro_onshelf_status <>", value, "proOnshelfStatus");
            return (Criteria) this;
        }

        public Criteria andProOnshelfStatusGreaterThan(Integer value) {
            addCriterion("pro_onshelf_status >", value, "proOnshelfStatus");
            return (Criteria) this;
        }

        public Criteria andProOnshelfStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("pro_onshelf_status >=", value, "proOnshelfStatus");
            return (Criteria) this;
        }

        public Criteria andProOnshelfStatusLessThan(Integer value) {
            addCriterion("pro_onshelf_status <", value, "proOnshelfStatus");
            return (Criteria) this;
        }

        public Criteria andProOnshelfStatusLessThanOrEqualTo(Integer value) {
            addCriterion("pro_onshelf_status <=", value, "proOnshelfStatus");
            return (Criteria) this;
        }

        public Criteria andProOnshelfStatusIn(List<Integer> values) {
            addCriterion("pro_onshelf_status in", values, "proOnshelfStatus");
            return (Criteria) this;
        }

        public Criteria andProOnshelfStatusNotIn(List<Integer> values) {
            addCriterion("pro_onshelf_status not in", values, "proOnshelfStatus");
            return (Criteria) this;
        }

        public Criteria andProOnshelfStatusBetween(Integer value1, Integer value2) {
            addCriterion("pro_onshelf_status between", value1, value2, "proOnshelfStatus");
            return (Criteria) this;
        }

        public Criteria andProOnshelfStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("pro_onshelf_status not between", value1, value2, "proOnshelfStatus");
            return (Criteria) this;
        }

        public Criteria andGmtOnshelfIsNull() {
            addCriterion("gmt_onshelf is null");
            return (Criteria) this;
        }

        public Criteria andGmtOnshelfIsNotNull() {
            addCriterion("gmt_onshelf is not null");
            return (Criteria) this;
        }

        public Criteria andGmtOnshelfEqualTo(Date value) {
            addCriterion("gmt_onshelf =", value, "gmtOnshelf");
            return (Criteria) this;
        }

        public Criteria andGmtOnshelfNotEqualTo(Date value) {
            addCriterion("gmt_onshelf <>", value, "gmtOnshelf");
            return (Criteria) this;
        }

        public Criteria andGmtOnshelfGreaterThan(Date value) {
            addCriterion("gmt_onshelf >", value, "gmtOnshelf");
            return (Criteria) this;
        }

        public Criteria andGmtOnshelfGreaterThanOrEqualTo(Date value) {
            addCriterion("gmt_onshelf >=", value, "gmtOnshelf");
            return (Criteria) this;
        }

        public Criteria andGmtOnshelfLessThan(Date value) {
            addCriterion("gmt_onshelf <", value, "gmtOnshelf");
            return (Criteria) this;
        }

        public Criteria andGmtOnshelfLessThanOrEqualTo(Date value) {
            addCriterion("gmt_onshelf <=", value, "gmtOnshelf");
            return (Criteria) this;
        }

        public Criteria andGmtOnshelfIn(List<Date> values) {
            addCriterion("gmt_onshelf in", values, "gmtOnshelf");
            return (Criteria) this;
        }

        public Criteria andGmtOnshelfNotIn(List<Date> values) {
            addCriterion("gmt_onshelf not in", values, "gmtOnshelf");
            return (Criteria) this;
        }

        public Criteria andGmtOnshelfBetween(Date value1, Date value2) {
            addCriterion("gmt_onshelf between", value1, value2, "gmtOnshelf");
            return (Criteria) this;
        }

        public Criteria andGmtOnshelfNotBetween(Date value1, Date value2) {
            addCriterion("gmt_onshelf not between", value1, value2, "gmtOnshelf");
            return (Criteria) this;
        }

        public Criteria andCreditLimitIsNull() {
            addCriterion("credit_limit is null");
            return (Criteria) this;
        }

        public Criteria andCreditLimitIsNotNull() {
            addCriterion("credit_limit is not null");
            return (Criteria) this;
        }

        public Criteria andCreditLimitEqualTo(Double value) {
            addCriterion("credit_limit =", value, "creditLimit");
            return (Criteria) this;
        }

        public Criteria andCreditLimitNotEqualTo(Double value) {
            addCriterion("credit_limit <>", value, "creditLimit");
            return (Criteria) this;
        }

        public Criteria andCreditLimitGreaterThan(Double value) {
            addCriterion("credit_limit >", value, "creditLimit");
            return (Criteria) this;
        }

        public Criteria andCreditLimitGreaterThanOrEqualTo(Double value) {
            addCriterion("credit_limit >=", value, "creditLimit");
            return (Criteria) this;
        }

        public Criteria andCreditLimitLessThan(Double value) {
            addCriterion("credit_limit <", value, "creditLimit");
            return (Criteria) this;
        }

        public Criteria andCreditLimitLessThanOrEqualTo(Double value) {
            addCriterion("credit_limit <=", value, "creditLimit");
            return (Criteria) this;
        }

        public Criteria andCreditLimitIn(List<Double> values) {
            addCriterion("credit_limit in", values, "creditLimit");
            return (Criteria) this;
        }

        public Criteria andCreditLimitNotIn(List<Double> values) {
            addCriterion("credit_limit not in", values, "creditLimit");
            return (Criteria) this;
        }

        public Criteria andCreditLimitBetween(Double value1, Double value2) {
            addCriterion("credit_limit between", value1, value2, "creditLimit");
            return (Criteria) this;
        }

        public Criteria andCreditLimitNotBetween(Double value1, Double value2) {
            addCriterion("credit_limit not between", value1, value2, "creditLimit");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIsNull() {
            addCriterion("is_deleted is null");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIsNotNull() {
            addCriterion("is_deleted is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeletedEqualTo(Integer value) {
            addCriterion("is_deleted =", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotEqualTo(Integer value) {
            addCriterion("is_deleted <>", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedGreaterThan(Integer value) {
            addCriterion("is_deleted >", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_deleted >=", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedLessThan(Integer value) {
            addCriterion("is_deleted <", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedLessThanOrEqualTo(Integer value) {
            addCriterion("is_deleted <=", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIn(List<Integer> values) {
            addCriterion("is_deleted in", values, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotIn(List<Integer> values) {
            addCriterion("is_deleted not in", values, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedBetween(Integer value1, Integer value2) {
            addCriterion("is_deleted between", value1, value2, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotBetween(Integer value1, Integer value2) {
            addCriterion("is_deleted not between", value1, value2, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNull() {
            addCriterion("gmt_create is null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNotNull() {
            addCriterion("gmt_create is not null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateEqualTo(Date value) {
            addCriterion("gmt_create =", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotEqualTo(Date value) {
            addCriterion("gmt_create <>", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThan(Date value) {
            addCriterion("gmt_create >", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThanOrEqualTo(Date value) {
            addCriterion("gmt_create >=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThan(Date value) {
            addCriterion("gmt_create <", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThanOrEqualTo(Date value) {
            addCriterion("gmt_create <=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIn(List<Date> values) {
            addCriterion("gmt_create in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotIn(List<Date> values) {
            addCriterion("gmt_create not in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateBetween(Date value1, Date value2) {
            addCriterion("gmt_create between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotBetween(Date value1, Date value2) {
            addCriterion("gmt_create not between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIsNull() {
            addCriterion("gmt_modified is null");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIsNotNull() {
            addCriterion("gmt_modified is not null");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedEqualTo(Date value) {
            addCriterion("gmt_modified =", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotEqualTo(Date value) {
            addCriterion("gmt_modified <>", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedGreaterThan(Date value) {
            addCriterion("gmt_modified >", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedGreaterThanOrEqualTo(Date value) {
            addCriterion("gmt_modified >=", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedLessThan(Date value) {
            addCriterion("gmt_modified <", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedLessThanOrEqualTo(Date value) {
            addCriterion("gmt_modified <=", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIn(List<Date> values) {
            addCriterion("gmt_modified in", values, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotIn(List<Date> values) {
            addCriterion("gmt_modified not in", values, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedBetween(Date value1, Date value2) {
            addCriterion("gmt_modified between", value1, value2, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotBetween(Date value1, Date value2) {
            addCriterion("gmt_modified not between", value1, value2, "gmtModified");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}